
package com.abbh.libcommunity.model ;
/**
 *
 *
 * @hibernate.class
 *     table="PHONE"
 *
 */
public class Phone {
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String phoneType ">
    private String phoneType;
    /**
     *   @hibernate.property
     *     column="PHONE_TYPE"
     *   @hibernate.column
     *     name="PHONE_TYPE"
     */
    public String getPhoneType() {
        return phoneType;
    }
    public void setPhoneType(String phoneType) {
        this.phoneType = phoneType;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String phoneNumber ">
    private String phoneNumber;
    /**
     *   @hibernate.property
     *     column="PHONE_NUMBER"
     *   @hibernate.column
     *     name="PHONE_NUMBER"
     */
    public String getPhoneNumber() {
        return phoneNumber;
    }
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   Boolean isDefault ">
    private Boolean isDefault;
    /**
     *   @hibernate.property
     *     column="IS_DEFAULT"
     *   @hibernate.column
     *     name="IS_DEFAULT"
     */
    public Boolean getIsDefault() {
        return isDefault;
    }
    public void setIsDefault(Boolean isDefault) {
        this.isDefault = isDefault;
    }
    // </editor-fold>
    
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   java.sql.Date creationDate ">
    private java.sql.Date creationDate;
    /**
     *   @hibernate.property
     *     column="CREATION_DATE"
     *   @hibernate.column
     *     name="CREATION_DATE"
     */
    public java.sql.Date getCreationDate() {
        return creationDate;
    }
    public void setCreationDate(java.sql.Date creationDate) {
        this.creationDate = creationDate;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String createdUser ">
    private String createdUser;
    /**
     *   @hibernate.property
     *     column="CREATED_USER"
     *   @hibernate.column
     *     name="CREATED_USER"
     */
    public String getCreatedUser() {
        return createdUser;
    }
    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   java.sql.Date lastModifiedDate ">
    private java.sql.Date lastModifiedDate;
    /**
     *   @hibernate.property
     *     column="LAST_MODIFIED_DATE"
     *   @hibernate.column
     *     name="LAST_MODIFIED_DATE"
     */
    public java.sql.Date getLastModifiedDate() {
        return lastModifiedDate;
    }
    public void setLastModifiedDate(java.sql.Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Property:   String lastModifiedUser ">
    private String lastModifiedUser;
    /**
     *   @hibernate.property
     *     column="LAST_MODIFIED_USER"
     *   @hibernate.column
     *     name="LAST_MODIFIED_USER"
     */
    public String getLastModifiedUser() {
        return lastModifiedUser;
    }
    public void setLastModifiedUser(String lastModifiedUser) {
        this.lastModifiedUser = lastModifiedUser;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" PrimaryKey:   Integer id ">
    private Integer id;
    /**
     *   @hibernate.id
     *     generator-class="increment"
     */
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    //</editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" N-1  Relation to com.abbh.libcommunity.model.Community community ">
    private com.abbh.libcommunity.model.Community community;
    
    /**
     * @hibernate.many-to-one
     *     column="COMMUNITY_ID"
     *     class="com.abbh.libcommunity.model.Community"
     *     not-null="false"
     *     outer-join="auto"
     */
    public com.abbh.libcommunity.model.Community getCommunity() {
        return this.community;
    }
    
    public void setCommunity(com.abbh.libcommunity.model.Community community) {
        this.community = community;
    }
    // </editor-fold>
    
    
}